/****************************************************************
 * Fulguro
 * Copyright (C) 2004 Christophe Clienti
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 ***************************************************************/

#ifndef __FLGR_VERSION
#define __FLGR_VERSION

#define FLGR_VERSION_MAJOR "2"
#define FLGR_VERSION_MINOR "1"


#ifdef __SSE4__
#define SSE4 "SSE4"
#else
#define SSE4 ""
#endif

#ifdef __SSE3__
#define SSE3 "SSE3"
#else
#define SSE3 ""
#endif

#ifdef __SSE2__
#define SSE2 "SSE2"
#else
#define SSE2 ""
#endif

#ifdef __SSE__
#define SSE "SSE"
#else
#define SSE ""
#endif

#ifdef __MMX__
#define MMX "MMX"
#else
#define MMX ""
#endif

#if defined(__MINGW32__)
#define __COMPILER__ "MINGW GNU GCC"
#elif defined(__GNUC__)
#define __COMPILER__ "GNU GCC"
#else
#define __COMPILER__ "MSVC"
#endif

#define FLGR_VERSION(major,minor)				\
  "Fulguro version "major"."minor" "__DATE__" "__TIME__"\n"	\
  __COMPILER__" "__VERSION__" "MMX" "SSE" "SSE2" "SSE3" "SSE4

#endif
